from django.template import  Library

register = Library()

@register.filter
def Divided(num1, num2):
    """Divided"""
    return  int(num1/num2*100)


@register.filter
def mod(val):
    return val%2 == 0
